<?php

declare(strict_types=1);

namespace App\CustHub\Request;

use Mine\MineFormRequest;

class AutoAcceptFriendRequest extends MineFormRequest
{
    public function saveRules()
    {
        return [
            'name' => 'required',
            'cfg' => 'required'
        ];
    }

    public function getInfoRules()
    {
        return [
            'id' => 'required'
        ];
    }

    public function updateRules()
    {
        return array_merge(['id'=>'required'], $this->saveRules());
    }
}